package org.lzy.aibg.controller;

import org.lzy.aibg.pojo.User;
import org.lzy.aibg.service.UserService;

import java.util.List;

public class UserController {
    private UserService userService;

    public void setUserService(UserService userService){this.userService = userService;}
    public List<User> getAll(){
        System.out.println("getAll in UserController");
        return userService.getALl();
    }
}
